package com.yidu.qx.service;

import com.yidu.qx.domain.QxCharacterEntity;
import com.yidu.qx.domain.QxRolesModulesEntity;
import com.yidu.qx.utils.Pages;

import java.util.List;

/**
 * 角色模块表dao
 */
public interface RolesModulesService {

    void add(QxRolesModulesEntity qxRolesModulesEntity);

    void delete(Integer id);

    void deleteAll(QxRolesModulesEntity qxRolesModulesEntity);

    void update(QxRolesModulesEntity qxRolesModulesEntity);

    List<QxRolesModulesEntity> findAll(QxRolesModulesEntity qxRolesModulesEntity, Pages pages);

    List<QxRolesModulesEntity> select(QxRolesModulesEntity qxRolesModulesEntity);

    QxRolesModulesEntity findById(Integer id);

    /**
     * 总行数
     * @return
     */
    Long count(QxRolesModulesEntity qxRolesModulesEntity);
}
